<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Light.master" CodeBehind="Login.aspx.cs" Inherits="GPSTracker.Login" %>

<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">
    <div style="width:265px;margin:auto;margin-top:150px;">
        <div style="border: 1px solid #3c4f8f; vertical-align: middle; text-align: center; width: 265px;">
            <table cellspacing="0" cellpadding="0" style="width:100%;">
                <tr>
                    <td align="center" style="background-color: #3c4f8f;color:white; font-family: Verdana; font-weight: bold; padding-bottom: 5px;">Log In
                    </td>
                </tr>
                <tr>
                    <td style="padding-left: 5px; padding-top:5px; text-align: left; ">
                        <asp:TextBox ID="tbUserName" runat="server" placeholder="Username" Width="250" Height="25"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="tbUserName" runat="server" ErrorMessage="User Name is required." Font-Names="Arial" Font-Size="10" ForeColor="Red" Height="20"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="padding-left: 5px; text-align: left;">
                        <asp:TextBox ID="tbPassword" runat="server" TextMode="Password" AutoCompleteType="Disabled" Width="250" Height="25" Placeholder="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="tbPassword" runat="server" ErrorMessage="Password is required." Font-Names="Arial" Font-Size="10" ForeColor="Red" Height="20"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="padding-left: 5px; padding-bottom:5px;">
                        <div style="margin-top:5px; float:left;">
                            <asp:CheckBox ID="chk_remember" runat="server" Text="Remember me" Height="10" Font-Names="Arial" Font-Size="Small" />
                        </div>

                        <div style="margin-top:5px; float:right; margin-right:10px;">
                            <dx:ASPxButton ID="btnLogin" runat="server" Text="Log In" ValidationGroup="LoginUserValidationGroup" 
                                OnClick="btnLogin_Click" Width="80">
                            </dx:ASPxButton>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>

